<?php session_start();
if (empty($_SESSION['nombre']))
	echo "<meta http-equiv='Refresh' content='0;url=../../index.php'>";
?>
<!DOCTYPE html>

<html >
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>cambio de contrase&ntilde;a</title>

<script type="text/javascript" src="../../bootstrap/scripts/md5.js"></script>
<link href="../../bootstrap/css/bootstrap.min.css" rel="stylesheet">
<link href="../../bootstrap/css/view.css" rel="stylesheet">
<script type="text/javascript" src="../../bootstrap/scripts/view.js"></script>
<script type="text/javascript" src="../../bootstrap/scripts/scripts3.js"></script>
<script type="text/javascript" src="../../bootstrap/scripts/scripts.js"></script>

</head>
<body id="main_body" >
<div id="a_header">
		<div class="container">
			<div class="row">
				<div class="span10">
					<a href="/demoerp/dashboard/">
					<img src="../../imagenes/logo_3tech_small.png"  style="float:left;" alt="" />					</a>
					<div style="display:inline-block; margin-top:20px;">
						<h3 style="margin:0px;">Sistema de Administraci&oacute;n y Gesti&oacute;n de Clientes (CRM)</h3>
					</div>
				</div>
			
				
					<div class="btn-group pull-right upan">
						  <button type="button" class="btn btn-primary" id ="drop"><span class= "glyphicon glyphicon-user"><?php if (! empty($_SESSION['nombre'])) echo("   ". $_SESSION['user']);?></span></button>
						  <button type="button" class="btn btn-primary dropdown-toggle" data-toggle="dropdown" id="drop2">
						    <span class="caret"></span>
						  </button>
						  
						  <ul class="dropdown-menu" role="menu">
						  
						    <li><a href="../../TableroInicio.php" title="Tablero Principal">Inicio</a></li>
						     <li class="divider"></li>
						    <li><a href="../../cerrar_sesion.php" title="Cerrar sesi&oacute;n">Salir</a></li>
						  </ul>
					</div>
			</div>
		</div>
	</div>
    <div style="background-color:#0455A7; height:3px;"></div>	
	<img id="top" src="../../imagenes/top.png" alt="">
	<div id="form_container">
	
		<h1><a>Formulario de cambio de contrase&ntilde;a</a></h1>
		<form id="form_729442" class="appnitro"  method="post" action="" onsubmit="cambiarPase(); return false" style="background-color: #f2f9f2">
		<div class="form_description">
			<h2>Formulario</h2>
			<p>Cambio de Contrase&ntilde;a</p>
		</div>						
			<ul >
		<li id="li_1" >
		<label class="description" for="element_1">Nombre de usuario: </label>
		<div>
			<input id="nombre" name="element_1" class="element text medium" type="text" maxlength="255" value=""placeholder="username"/> 
		</div> 
		</li>		<li id="li_2" >
		<label class="description" for="element_2">Contrase&ntilde;a anterior: </label>
		<div>
			<input id="paseviejo" name="element_2" class="element text medium" type="password" maxlength="255" value=""placeholder="clave anterior"/> 
		</div> 
		</li>		<li id="li_3" >
		<label class="description" for="element_3">Nueva Contrase&ntilde;a: </label>
		<div>
			<input id="nuevopase" name="element_3" class="element text medium" type="password" maxlength="255" value="" placeholder="nueva clave"/> 
		</div> 
		</li>		<li id="li_4" >
		<label class="description" for="element_4">Repita Contrase&ntilde;a: </label>
		<div>
			<input id="nuevopase2" name="element_4" class="element text medium" type="password" maxlength="255" value="" placeholder="repita nueva clave"/> 
		</div> 
		</li>
					<li class="buttons">
				<input id="saveForm" class="btn btn-success" type="submit" name="submit" value="Confirmar" />
				<input id="cancelar" class="btn btn-warning" type="button" name="" value="Cancelar" />
		</li>
			</ul>
		</form>	
		
	</div>
	<img id="bottom" src="../../imagenes/bottom.png" alt="">
	<footer style="margin-top: 20px; background-color:#FFF;">
		<div style="background-color:#00f; height:5px;"></div>
        <div class="container" style="height:100px;">
			<div class="row">
				<div class="span2" style="float:right;">
					<p style="">Desarrollado por:</p>
					<a href="http://www.3tech-panama.com"><img src="../../imagenes/3techpaylogo.png"alt="3tech panama" style="width:134px; height:50px; float:right;" /></a>
			   </div>
			</div>
		</div>
        <div style="background-color:#0000FF; height:25px;">
            <div class="container" >
                <p style="margin-left: 10px; color:#FFF;">Copyright &copy; 2013 HOSANNA. Todos los derechos reservados. </p>
            </div>
        </div>	
    </footer>
	</body>
</html>